package com.wm.wmim.common.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author weiming
 * @date 2024/9/26 20:48
 * @description
 */
@Getter
@AllArgsConstructor
public enum RedisKeyEnum {

    /**
     * 占位符: businessScene,userId
     *
     * 缓存结构: Key=scene + userId ：Value=Map<sessionId, routeInfo>
     */
    USER_ROUTE_KEY_NEW("wmim:user:route:%s:%s","用户路由"),


    ;
    private String code;
    private String desc;
}
